<!--
 * @Author: your name
 * @Date: 2021-09-12 11:17:53
 * @LastEditTime: 2021-09-19 12:15:14
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \more-money\src\components\common\svgIcon.vue
-->
<template>
    <span class="money-icon">
        <svg class="icon">
            <use :xlink:href="'#icon-'+iconName"></use>
        </svg>
    </span>
</template>

<script lang="ts">

export default {
    name:'svgIcon',
    props:{
        iconName:{
            type:String,
            default:'',
        }
    }
}
</script>

<style lang="scss" scoped>
.icon{
    cursor:pointer;
}
</style>
